<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body style="background: url(xxx.png)">
<div class="main">
  <form action="addServlet" method="post" >
  <center>
  <h1>添加预案</h1>
 <input type="text" name="name" size='20' maxlength="20" placeholder="请输入预案名称"><br><br>
 请选择灾害类型：
 <select name = "label">
<option value="地震">地震</option>
<option value='火灾'>火灾</option>
<option value="气象灾害">气象灾害</option>
<option value="环境灾害">环境灾害</option>
</select>
<br><br>
请选择身份信息：
<select name = "identity">
<option value="学生">学生</option>
<option value='教师'>教师</option>
<option value="领导">领导</option>
<option value="其他人员">其他人员</option>
</select>
<br><br>
     <input type="date" name="birthday" size='20' maxlength="20" placeholder="请选择日期"><br><br>
       <hr>请输入要添加的内容：
       <br><br>
       <textarea type="text" name="descriptions" rows="10" cols="36" wrap="physical" placeholder="请输入内容">
       </textarea>
       <br><br>
     <input type="submit" name="submit" value="添加" onclick="return gogo()"  > 
    </center>  
  </form>
  </div>
  <center>
  <div id="showDateTime" ><script type="text/javascript"
     language="javascript">
        setInterval("showDateTime.innerHTML='当前时间:'+new Date().toLocaleString();",1000);
</script>
</div>
<br><br>
 <% out.print("当前访问客户端地址为："+request.getRemoteAddr()) ;%>
</center>
</body>
</html>